package com.nacos.example.consumer.server;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("service-provider")
public interface ProviderFeignService {

    @RequestMapping(value = "/api/provider/echo", method = RequestMethod.GET)
    String echo();
}
